package ejp;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import org.apache.log4j.Logger;
import javax.swing.JFrame;
import org.jvnet.substance.SubstanceLookAndFeel;
import ui.Login;

/**
 *
 * @author Adriano
 */
public class Main {

    private static Logger logger = Logger.getLogger(Main.class);

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {

        //Permite aplicar decoracion a la interfaz grafica.
        JFrame.setDefaultLookAndFeelDecorated(true);
        // Setencia que aplica el skin Creme de Substance.
        SubstanceLookAndFeel.setSkin("org.jvnet.substance.skin.BusinessBlackSteelSkin");
        SubstanceLookAndFeel.setCurrentWatermark("org.jvnet.substance.watermark.SubstanceFabricWatermark");
        logger.info("Inicio de programa");
        Login miLogin = new Login ();
        miLogin.setVisible(true);

    }

}
